import Vue from 'vue'
import App from './App'
import tokenObj from './static/http/pageConfig.js'
import utils from './static/common/utils.js'
// 加载中插件
import ourLoading from '@/components/our-loading/our-loading.vue'
Vue.component('ourLoading', ourLoading)
// 封装uni.request请求
import http from 'pocky-request'
Vue.config.productionTip = false;
// luch-request插件
Vue.prototype.$http = http();

// 存放token以及获取token所需要的数据
Vue.prototype.$tokenObj = tokenObj;
Vue.prototype.$ut = utils.utils;

Vue.prototype.$api = 'http://172.16.101.53:10570';

App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
